# CMake 版本要求
cmake_minimum_required(VERSION 3.10)
 
# 工程名
project(RK35xxAppDevFunPack VERSION 1.0.0)

# 配置
set(CMAKE_CXX_STANDARD 14)
# set(CMAKE_BUILD_TYPE Debug)
# SET(CMAKE_C_COMPILER "aarch64-linux-gcc")
# SET(CMAKE_CXX_COMPILER "aarch64-linux-g++")
 
# 添加头文件搜索路径
include_directories(
    # "/usr/include"
    # "/usr/lib"
    "/home/zt/Tools/gcc-buildroot-9.3.0-2020.03-x86_64_aarch64-rockchip-linux-gnu/aarch64-rockchip-linux-gnu/sysroot/usr/include/drm/"
    ${PROJECT_SOURCE_DIR}/inc/
    ${PROJECT_SOURCE_DIR}/lib/
)

# 添加模块路径
add_subdirectory(${PROJECT_SOURCE_DIR}/inc/)
add_subdirectory(${PROJECT_SOURCE_DIR}/mod/)
